import { NbMenuItem } from '@nebular/theme';

export const MENU_ITEMS: NbMenuItem[] = [
  {
    title: '主页',
    icon: 'nb-home',
    link: '/company/dashboard',
    home: true
  },
  {
    title: '功能列表',
    group: true,
  },
  {
    title: '食品信息管理',
    icon: 'nb-keypad',
    link: '/company/food',
  },
  {
    title: '食品生产报备',
    icon: 'nb-compose',
    children: [
      {
        title: '生产信息',
        link: '/company/produce/find',
      },
      {
        title: '批次二维码',
        link: '/company/qrcode',
      },
    ],
  },
  {
    title: '食品工厂管理',
    icon: 'nb-title',
    link: '/company/manufacturer',
  },
  {
    title: '公司信息',
    icon: 'nb-tables',
    link: '/company/company',
  },
  {
    title: '区块链',
    icon: 'nb-gear',
    children: [
      {
        title: '节点查询',
        link: '/company/peer/search',
      },
      {
        title: '自设节点',
        link: '/company/peer/set',
      },
    ],
  },
];
